package org.example.musicserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.musicserver.common.Result;
import org.example.musicserver.entity.Banner;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface BannerService extends IService<Banner> {
    List<Banner> getAllBanner();

    Result addBanner(MultipartFile file);

    Result updateBanner(Integer id, MultipartFile file);

    Result deleteBanner(Integer id);

}
